package org.travel_system.service;

import org.travel_system.pojo.EmergencyInformation;

import java.util.List;

public interface EmergencyService
{
    List<EmergencyInformation> getEmergencies();

    EmergencyInformation getEmergencyById(int id);

    List<EmergencyInformation> getEmergenciesApproved();

    int addEmergency(EmergencyInformation emergencyInformation);

    int approveEmergency(int id);
}
